{php}
$active = getdispay();
{/php}
<!--底部-->
<footer class="footer">
    <nav>
        <ul>
            <li><a href="{:url('index/index')}" class="nav-controller  {eq name='active' value='1'} active{/eq}"><div class="fb-home"></div>首页</a></li>
            <li><a href="{:url('user/index')}" class="nav-controller {eq name='active' value='2'} active{/eq}"><div class="fb-user"></div>会员中心</a></li>
            <li><a href="{:url('index/point2')}" class="nav-controller {eq name='active' value='3'} active{/eq}"><div class="fb-group"></div>积分明细</a></li>
            <li><a href="{:url('index/news')}" class="nav-controller  {eq name='active' value='4'} active{/eq}"><div class="fb-list"></div>会员公告</a></li>
        </ul>
    </nav>
</footer>